using UnityEngine;
using System.Runtime.InteropServices;

public class IOSHelper : MonoBehaviour
{
#if UNITY_IOS

        // 发送数据到EyeLog
        [DllImport("__Internal")]
        private static extern void sendDataEyeLog(string key, string value);
#endif

        public static void SendDataEyeLog(string key, string value)
        {
#if UNITY_IOS && !UNITY_EDITOR
            sendDataEyeLog(key, value);
#else
                Tools.Log("iOSBI打点", value);
#endif
        }
}
